package com.ktjiaoyu.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ktjiaoyu.server.pojo.MenuRole;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jieGe
 * @since 2022-05-19
 */
public interface MenuRoleMapper extends BaseMapper<MenuRole> {

    // 通过指定的菜单ID集合实现从t_menu_role菜单和角色中间表中删除当前菜单时将当前菜单下的子菜单列表一起删除
    public int deleteBatch(List<Integer> ids);

}
